package com.zmj.mobile.mapstruct;

import com.zmj.mobile.dto.OrgVO;
import com.zmj.mobile.entity.OrgEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface OrgMapStruct {

    OrgMapStruct INSTANCE = Mappers.getMapper(OrgMapStruct.class);

    OrgVO toVO(OrgEntity orgEntity);

    List<OrgVO> toVOList(List<OrgEntity> orgEntityList);

}